package me.java10.text.text1.demo;

public class Text {
    public static void main(String[] args) {
        //创建女朋友的对象
        Demo gf1 = new  Demo();
        //赋值
        gf1.setName("小诗诗");
        gf1.setAge(18);
        gf1.setGender("女");
        System.out.println(gf1.getName());
        System.out.println(gf1.getAge());
        System.out.println(gf1.getGender());
        gf1.eat();
        gf1.sleep();
    }
}
